/**
 * Creat with IntelliJ IDEA
 * Description
 * User: mamba24
 * Date: 2022-05-18
 * Time: 17:43
 * To BE A Better Person-2020-3-2
 */
//hhh
    //hhh
    //hhh
public class MyStack {
    public int[] elem = new int[10];
    public int usedSize;
    public MyStack(){
        usedSize = 0;
    }

    public void pop() {
        if(empty()){
            throw new RuntimeException("the stack is empty");
        }else{

        }
    }
    public void peek() {

    }
    private boolean empty() {
        if(usedSize != 0){
            return false;
        }else{
            return true;
        }
    }
}
